package net.esj.basic.core.business.handler;

import java.util.Collection;

import net.esj.basic.core.view.tools.searcher.Searcher;
import net.esj.basic.dao.querybuilder.QueryBuilder;
import net.esj.basic.pojo.MObject;

public interface MObjectSearchHandler<T extends MObject> {

	static final String SEARCH_KEY_SPLIT = "!"; 
	
	Collection<T> search(Searcher searcher);
	
	void append(QueryBuilder qb,String key,Searcher searcher);
	
	Class<T> mObjectClass();
	
	String identifyKey();
	
}
